package com.imooc.xunwu.base;

/**
 * @Auther: hyr
 * @Date: 2018/10/25 15:56
 * @Description:
 */
public class ApiDataTableResponse extends ApiResponse {
    private int draw;
    private long recordsTotal;
    private long recordFiltered;

    public ApiDataTableResponse(Status status){
        this(status.getCode(),status.getStandarMessage(),null);
    }

    public ApiDataTableResponse(int code, String message, Object data) {
        super(code, message, data);

    }


    public int getDraw() {
        return draw;
    }

    public void setDraw(int draw) {
        this.draw = draw;
    }

    public long getRecordsTotal() {
        return recordsTotal;
    }

    public void setRecordsTotal(long recordsTotal) {
        this.recordsTotal = recordsTotal;
    }

    public long getRecordFiltered() {
        return recordFiltered;
    }

    public void setRecordFiltered(long recordFiltered) {
        this.recordFiltered = recordFiltered;
    }
}
